package com.ruoyi.service.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 耗材与别名对象 service_suppliesname
 * 
 * @author ZDL
 * @date 2024-10-21
 */
public class ServiceSuppliesname extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 耗材别名对照表ID */
    private Long suppliesnameId;

    /** 耗材ID */
    @Excel(name = "耗材ID")
    private Long suppliesnameSuppliesid;

    /** 别名ID */
    @Excel(name = "别名ID")
    private Long suppliesnameNameid;

    /** 创建者 */
    @Excel(name = "创建者")
    private String suppliesnameCreateBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date suppliesnameCreateTime;

    /** 更新者 */
    @Excel(name = "更新者")
    private String suppliesnameUpdateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date suppliesnameUpdateTime;

    /** 有效标志（0代表启用 2代表不启用） */
    @Excel(name = "有效标志", readConverterExp = "0=代表启用,2=代表不启用")
    private String suppliesnameUseFlag;

    /** 删除标志（0代表存在 2代表删除） */
    @Excel(name = "删除标志", readConverterExp = "0=代表存在,2=代表删除")
    private String suppliesnameDelFlag;

    public void setSuppliesnameId(Long suppliesnameId) 
    {
        this.suppliesnameId = suppliesnameId;
    }

    public Long getSuppliesnameId() 
    {
        return suppliesnameId;
    }
    public void setSuppliesnameSuppliesid(Long suppliesnameSuppliesid) 
    {
        this.suppliesnameSuppliesid = suppliesnameSuppliesid;
    }

    public Long getSuppliesnameSuppliesid() 
    {
        return suppliesnameSuppliesid;
    }
    public void setSuppliesnameNameid(Long suppliesnameNameid) 
    {
        this.suppliesnameNameid = suppliesnameNameid;
    }

    public Long getSuppliesnameNameid() 
    {
        return suppliesnameNameid;
    }
    public void setSuppliesnameCreateBy(String suppliesnameCreateBy) 
    {
        this.suppliesnameCreateBy = suppliesnameCreateBy;
    }

    public String getSuppliesnameCreateBy() 
    {
        return suppliesnameCreateBy;
    }
    public void setSuppliesnameCreateTime(Date suppliesnameCreateTime) 
    {
        this.suppliesnameCreateTime = suppliesnameCreateTime;
    }

    public Date getSuppliesnameCreateTime() 
    {
        return suppliesnameCreateTime;
    }
    public void setSuppliesnameUpdateBy(String suppliesnameUpdateBy) 
    {
        this.suppliesnameUpdateBy = suppliesnameUpdateBy;
    }

    public String getSuppliesnameUpdateBy() 
    {
        return suppliesnameUpdateBy;
    }
    public void setSuppliesnameUpdateTime(Date suppliesnameUpdateTime) 
    {
        this.suppliesnameUpdateTime = suppliesnameUpdateTime;
    }

    public Date getSuppliesnameUpdateTime() 
    {
        return suppliesnameUpdateTime;
    }
    public void setSuppliesnameUseFlag(String suppliesnameUseFlag) 
    {
        this.suppliesnameUseFlag = suppliesnameUseFlag;
    }

    public String getSuppliesnameUseFlag() 
    {
        return suppliesnameUseFlag;
    }
    public void setSuppliesnameDelFlag(String suppliesnameDelFlag) 
    {
        this.suppliesnameDelFlag = suppliesnameDelFlag;
    }

    public String getSuppliesnameDelFlag() 
    {
        return suppliesnameDelFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("suppliesnameId", getSuppliesnameId())
            .append("suppliesnameSuppliesid", getSuppliesnameSuppliesid())
            .append("suppliesnameNameid", getSuppliesnameNameid())
            .append("suppliesnameCreateBy", getSuppliesnameCreateBy())
            .append("suppliesnameCreateTime", getSuppliesnameCreateTime())
            .append("suppliesnameUpdateBy", getSuppliesnameUpdateBy())
            .append("suppliesnameUpdateTime", getSuppliesnameUpdateTime())
            .append("suppliesnameUseFlag", getSuppliesnameUseFlag())
            .append("suppliesnameDelFlag", getSuppliesnameDelFlag())
            .toString();
    }
}
